
#include <cstdio>
#include <gtest/gtest.h>
#include <string>
#include "http_protocol_msg.h"

TEST(StatusCode, ForEarch)
{
	for (int index = 100; index <= 599; index++)
	{
		std::string content = HttpUtil::CodeReasonPhrases(index);
		printf("code : %d content : %s.\n", index, content.c_str());
	}
}

TEST(ToLower, Test)
{
	std::string content = "Acception-Connection";
	std::string new_content = HttpUtil::ToLower(content);
	printf("%s.\n", content.c_str());
	printf("%s.\n", new_content.c_str());
}
